summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/evaluation/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/evaluation/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/evaluation/page.tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/[lng]/evcp/(evcp)/evaluation/page.tsx b/app/[lng]/evcp/(evcp)/evaluation/page.tsx
index ae626e58..0d3848d9 100644
--- a/app/[lng]/evcp/(evcp)/evaluation/page.tsx
+++ b/app/[lng]/evcp/(evcp)/evaluation/page.tsx
@@ -136,17 +136,13 @@ export default async function PeriodicEvaluationsPage(props: PeriodicEvaluations
// ✅ nuqs 기반 파라미터 파싱
const search = searchParamsEvaluationsCache.parse(searchParams)
- const validFilters = getValidFilters(search.filters || [])
// 현재 평가년도
const currentEvaluationYear = search.evaluationYear
// ✅ 집계 모드를 지원하는 서비스 함수 사용
const promises = Promise.all([
- getPeriodicEvaluationsWithAggregation({
- ...search,
- filters: validFilters,
- })
+ getPeriodicEvaluationsWithAggregation(search)
])
// ✅ 현재 모드 표시용 변수
@@ -193,7 +189,7 @@ export default async function PeriodicEvaluationsPage(props: PeriodicEvaluations
{/* 메인 테이블 */}
<React.Suspense
- key={JSON.stringify(searchParams)} // 집계 모드 변경 시에도 리렌더링
+ // key={JSON.stringify(searchParams)} // 집계 모드 변경 시에도 리렌더링
fallback={
<DataTableSkeleton
columnCount={search.aggregated ? 17 : 15} // 집계 모드에서 컬럼 추가